package com.bootx.service;

import com.bootx.common.Page;
import com.bootx.common.Pageable;
import com.bootx.entity.RedPackage;

import java.util.List;

/**
 * @author black
 */
public interface RedPackageService extends BaseService<RedPackage,Long>{

    void parse();

    void parse(Long folderId);

    List<RedPackage> getRedPackageByFolderId(Long folderId);

    List<RedPackage> getRedPackageByFolderIdAndTime(Long batchId, String time);

    Page<RedPackage> findPage(Pageable pageable, Long sn);
}
